package ${package};

import com.sanctuary.interfaces.Model;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

public class ${className} implements Model {
	
<#list fields as field>
<#if field.type == "int">
	@XStreamAsAttribute
</#if>
	private ${field.type} ${field.name};
</#list>
	
	public ${className} () {}

<#list fields as field>
	public ${field.type} get${stringUtils.capitalise(field.name)}() {
		return ${field.name};
	}
	
	public void set${stringUtils.capitalise(field.name)} (${field.type} arg) {
		this.${field.name} = arg;
	}
</#list>
	public String getAliasName() {
		return "${aliasName}";
	}
}